#ifndef __GRAPH_H__
#define __GRAPH_H__

struct GraphNode
{
    int id;
    int distance;

    explicit GraphNode(const int rhsId, const int rhsDistance) : id(rhsId), distance(rhsDistance) {}
};

struct GraphNodeCompare
{
    bool operator()(const GraphNode& a, const GraphNode& b) { return a.distance > b.distance; }
};

#endif  //__GRAPH_H__